package com.qf.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
//@ImportResource    引入外部的xml文件，但是尽量避免使用
@MapperScan(basePackages = {"com.qf.boot.mapper"})
@ServletComponentScan(basePackages = "包名")
public class BootStarterApp {

    public static void main(String[] args) {
        SpringApplication.run(BootStarterApp.class,args);
    }

}
